package io.github.cocoa.module.socket.controller.admin.sample.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author James
 */
@Schema(description = "示例信息更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SampleInfoUpdateReqVO extends SampleInfoBaseVO {

    @Schema(description = "示例主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "示例主键不能为空")
    private Long id;

}
